<div class="wms-layer layui-form">
    <table class="wms-bd-none">
        <tr>
            <td>还车人</td>
            <td><input type="text" class="layui-input" ng-model="addObjRC.rcReturnName"></td>
            <td>还车部门</td>
            <td><input type="text" class="layui-input" ng-model="addObjRC.rcReturnDepartment"></td>
            <td>联系电话</td>
            <td><input type="text" class="layui-input" ng-model="addObjRC.rcReturnTel"></td>
        </tr>
        <tr>
            <td>还车日期</td>
            <td>
                <input type="text" lay-verify="date" placeholder="yyyy-mm-dd" ng-model="addObjRC.rcReturnDate" ng-click="Tools.modelAssignment($event,this)" autocomplete="off" class="layui-input" onclick="layui.laydate({elem: this,format:'YYYY-MM-DD',choose : angular.element(this).scope().Tools.modelAssignment,scope:angular.element(this).scope()})">
            </td>
            <td>关联车辆借用单</td>
            <td><input type="text" class="layui-input" ng-model="addObjRC.rcBorrowNo" placeholder="Enter 快捷查看" ng-keyup="enter_search($event)"></td>
        </tr>
    </table>
    <blockquote class="layui-elem-quote" style="margin-top: 5px">
        <span class="wms-icon" ng-click="addCar()">
            <i class="layui-icon">&#xe654;</i>添加
        </span>
        <span class="wms-icon" style="margin-left: 8px" ng-click="delCar()">
            <i class="layui-icon">&#xe640;</i>删除
        </span>
    </blockquote>
    <table class="wmsCarInfo">
        <tr class="wms-layer-heard">
            <th style="width: 42px"><input type="checkbox" lay-skin="primary" lay-filter="allChoose"></th>
            <th>车架号(VIN码)</th>
            <th>物料名称</th>
            <th>车型</th>
            <th>车辆颜色</th>
        </tr>
        <tr ng-repeat="(key,item) in addObjRC.wmsBorrowCarDetailList" repeat-finish>
            <td style="padding: 3px 0" index="{{key}}"><input type="checkbox" lay-skin="primary" lay-filter="test"></td>
            <td>{{item.bdVin}}</td>
            <td>{{item.bdMaterialName}}</td>
            <td>{{item.bdCarSpecname}}</td>
            <td>{{item.bdCarColorname}}</td>
        </tr>
        <tr class="wms-layer-add-tr" ng-show="addInputFlag">
            <td><input type="checkbox" lay-skin="primary" lay-filter="test"></td>
            <td><input type="text"  class="layui-input" ng-click="closeCue()" ng-model="wmsTemp.bdVin"></td>
            <td><input type="text" class="layui-input" ng-click="closeCue()" ng-model="wmsTemp.bdMaterialName"></td>
            <!--车型-->
            <td><input type="text" class="layui-input" ng-click="closeCue()" ng-model="wmsTemp.bdCarSpecname"></td>
            <td><input type="text" class="layui-input" ng-click="closeCue()" ng-model="wmsTemp.bdCarColorname"></td>
        </tr>
    </table>
    <span>上传凭证</span>
    <div class="bcr-add-image" ng-click="uploadImgs();">
        <input type="file" ng-if="brcFlag" style=" opacity: 0; filter:Alpha(opacity=0); height: 127px;width: 170px;" nv-file-select="" uploader="uploaderBRC" fileter="filterName">
    </div>
    <p style="color:red; font-size: 12px" ng-show="cueFlag">请完整填写车辆信息！</p>
    <p style="color:#666; font-size: 12px" ng-show="!cueFlag">提示 : 借用单号 或 车架号(VIN) 两者必填一项</p>
    <div class="wms-layer-btn">
        <div style="float:right">
            <button class="layui-btn" ng-click="addSave()" ng-show="addFlag">保存</button>
            <button class="layui-btn" ng-click="saveEdite()" ng-show="!addFlag">保存编辑</button>
            <button class="layui-btn" ng-click="rcClose()">关闭</button>
        </div>

    </div>
</div>